package net.goutalk.glcs.module.language.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.goutalk.glcs.common.page.PageOutput;
import net.goutalk.glcs.module.language.dto.LanguageTypeListDto;
import net.goutalk.glcs.module.language.entity.LanguageType;
import net.goutalk.glcs.module.language.vo.LanguageTypeVo;

import java.util.List;

/**
 * <p>
 * 多语言语言类型表 服务类
 * </p>
 *
 * @author zlf
 * @since 2022-06-30
 */
public interface ILanguageTypeService extends IService<LanguageType> {

    boolean setMainLanguage(Long id);

    PageOutput<LanguageTypeVo> getPageData(LanguageTypeListDto dto);

    List<LanguageType> getDataList(String keyword);
}
